//
//  BottomView.swift
//  我的微博
//
//  Created by gongjunna on 15/8/2.
//  Copyright © 2015年 itheima. All rights reserved.
//

import UIKit

class BottomView: UIView {
    
  override init(frame: CGRect) {
        super.init(frame: frame)
    
        prepareUI()
    
    }

  required init?(coder aDecoder: NSCoder) {
      fatalError("init(coder:) has not been implemented")
  }
private    func prepareUI() {
    
    addSubview(forwardButton)
    addSubview(commonButton)
    addSubview(likeButton)
    
    ff_HorizontalTile([forwardButton,commonButton,likeButton], insets: UIEdgeInsetsZero)
    
    }
    
    private lazy var forwardButton: UIButton = UIButton(title: "转发 ", imageNamae: "timeline_icon_retweet")
    private lazy var commonButton: UIButton = UIButton(title: "评论", imageNamae: "timeline_icon_comment")
    private lazy var likeButton: UIButton = UIButton(title: "赞 ", imageNamae: "timeline_icon_unlike")
    
}
